<?php
/* @var $this JokesController */
/* @var $dataProvider CActiveDataProvider */

$this->breadcrumbs=array(
	'Jokes',
);
?>

<div class="main jokes">
	<div id="content">
	    Selectează o categorie.
    </div><!-- content -->
</div>

<div class="sidebar">
	<h1><?php echo CHtml::encode(Yii::app()->getModule('user')->t("Categories")); ?></h1>
	<ul class="posts">
		<?php foreach ($categories as $category): ?>
		<li>
			<?php echo CHtml::link(CHtml::encode($category->name), array('view', 'id'=>$category->id)); ?>

		</li>
		<?php endforeach; ?>
	</ul>
</div>
